<!--设备详情页-->
<ion-view title="{{deviceName}}">
    <ion-nav-bar class="bar-stable nav-title-slide-ios7  bar-positive">
        <ion-nav-back-button class="button-icon ion-nav-back-button " style="font-weight: 700;font-size: 14px;width: 70px;background-image: url('./img/back.png');background-size: 70px 32px;background-repeat:no-repeat;">
            &nbsp;&nbsp;&nbsp;返回
        </ion-nav-back-button>
    </ion-nav-bar>
    <ion-content has-header="true" padding="true"  has-bouncing="true" overflow-scroll="false" style="background-color: #E9F3FC;">
        <!--{{item.name}}-->
               <!-- <i class=""></i>
                <p>{{items.name}}</p>
                <label class="toggle toggle-positive">
                    <input type="checkbox" checked>
                    <div class="track">
                        <div class="handle"></div>
                    </div>
                </label>-->

        <div class="list card">

            <!--<div class="item item-icon-left">
                &lt;!&ndash;<img src="/img/docs/mcfly.jpg">&ndash;&gt;
                <i class="icon ion-arrow-graph-up-right"></i>
                {{deviceDetail.deviceName}}

            </div>-->

            <div class="item item-body" style="background-color: #E9F3FC;">
                <img ng-src="{{deviceDetail.imgUrl}}">
                <p>

                </p>
                <p>
                    <div style="float: right">
                    <a ng-click="refresh()" class="subdued"><img src="./img/camera.png" style="width: 28px;height: 20px;vertical-align:sub;">
                        <span style="font-size: 20px;color:#4C86B4;font-weight: 700;">&nbsp;重新拍照</span>
                    </a>
                    </div>
                </p>
            </div>

            <div class="item item-body" style="background-color: #E9F3FC;">
                <div>
                    <p  style="color:#4C86B4;font-size: 14px;font-weight: bold;">详细信息：</p>
                </div>
                <div style="margin-left: 20px;">
                    <!--<p>
                        &ensp;&ensp;ID：  {{deviceDetail.did}}
                    </p>-->
                    <p>
                        电流1：  {{deviceDetail.current1}}&nbsp;A
                    </p>
                    <p>
                        电流2：  {{deviceDetail.current2}}&nbsp;A
                    </p>
                    <p>
                        电流3：  {{deviceDetail.current3}}&nbsp;A
                    </p>
                    <p>
                        电压1： {{deviceDetail.voltage1}}&nbsp;U
                    </p>
                    <p>
                        电压2： {{deviceDetail.voltage2}}&nbsp;U
                    </p>
                    <p>
                        电压3： {{deviceDetail.voltage3}}&nbsp;U
                    </p>

                    <p>
                        温&nbsp;度：{{deviceDetail.temperature}}&nbsp;℃
                    </p>

                    <p>
                        振&nbsp;动：{{deviceDetail.vibrate}}
                    </p>
                    <p>
                        门&nbsp;磁：  {{deviceDetail.doorSensor}}
                    </p>
                    <!--<p>
                        时间：{{deviceDetail.time}}
                    </p>
                    <p>
                        GSM状态：{{deviceDetail.GSMState}}
                    </p>
                    <p>
                        继电器状态：{{deviceDetail.relayState}}
                    </p>-->
                </div>

            </div>

        </div>



    </ion-content>
</ion-view>